package com.cq.hd.merchant.vo;



import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class CoreDataStatisticsVo implements Serializable {


    @ApiModelProperty(value = "总订单金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal totalOrderAmt = BigDecimal.ZERO;

    @ApiModelProperty(value = "总订单数")
    private Integer totalOrderNum = 0;

    @ApiModelProperty(value = "总下单人数")
    private Integer totalOrderUserNum = 0;


    @ApiModelProperty(value = "总补贴金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal totalSubsidyAmt = BigDecimal.ZERO;


    @ApiModelProperty(value = "总收入")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal totalAmt = BigDecimal.ZERO;

}
